home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / MIPTemplate_Print_C9612.PspS < prev    next >
Encoding:
Text File  |  2003-06-06  |  3.6 KB  |  108 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.01 Beta 20030515.10'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 200, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.26667,11.69), 
  37.         'TemplateCategory': r'Avery International', 
  38.         'Template': [{
  39.             'CellPosition': (0.6575,1.0075), 
  40.             'CellSize': (3.175,2.065), 
  41.             'ImagePlacement': 2, 
  42.             'ImagePath': r'', 
  43.             'RotationAngle': 0, 
  44.             'ImagePosition': (0,0), 
  45.             'ImageSize': (0,0)
  46.             },{
  47.             'CellPosition': (0.6575,3.5475), 
  48.             'CellSize': (3.175,2.065), 
  49.             'ImagePlacement': 2, 
  50.             'ImagePath': r'', 
  51.             'RotationAngle': 0, 
  52.             'ImagePosition': (0,0), 
  53.             'ImageSize': (0,0)
  54.             },{
  55.             'CellPosition': (0.6575,6.0875), 
  56.             'CellSize': (3.175,2.065), 
  57.             'ImagePlacement': 2, 
  58.             'ImagePath': r'', 
  59.             'RotationAngle': 0, 
  60.             'ImagePosition': (0,0), 
  61.             'ImageSize': (0,0)
  62.             },{
  63.             'CellPosition': (0.6575,8.6275), 
  64.             'CellSize': (3.175,2.065), 
  65.             'ImagePlacement': 2, 
  66.             'ImagePath': r'', 
  67.             'RotationAngle': 0, 
  68.             'ImagePosition': (0,0), 
  69.             'ImageSize': (0,0)
  70.             },{
  71.             'CellPosition': (4.4375,1.0075), 
  72.             'CellSize': (3.175,2.065), 
  73.             'ImagePlacement': 2, 
  74.             'ImagePath': r'', 
  75.             'RotationAngle': 0, 
  76.             'ImagePosition': (0,0), 
  77.             'ImageSize': (0,0)
  78.             },{
  79.             'CellPosition': (4.4375,3.5475), 
  80.             'CellSize': (3.175,2.065), 
  81.             'ImagePlacement': 2, 
  82.             'ImagePath': r'', 
  83.             'RotationAngle': 0, 
  84.             'ImagePosition': (0,0), 
  85.             'ImageSize': (0,0)
  86.             },{
  87.             'CellPosition': (4.4375,6.0875), 
  88.             'CellSize': (3.175,2.065), 
  89.             'ImagePlacement': 2, 
  90.             'ImagePath': r'', 
  91.             'RotationAngle': 0, 
  92.             'ImagePosition': (0,0), 
  93.             'ImageSize': (0,0)
  94.             },{
  95.             'CellPosition': (4.4375,8.6275), 
  96.             'CellSize': (3.175,2.065), 
  97.             'ImagePlacement': 2, 
  98.             'ImagePath': r'', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             }]
  103.         }
  104.  
  105. def Do(Environment):
  106.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  107.  
  108.